package com.zhuozhou.jdyc.bean.Code;

/**
 * Created by 方舟 on 2017/10/16.
 * 服务器返回码
 */

public class ResponseCode {
    public static final String LOGIN_PAST = "401";//登录过期
    public static final String UNLOGIN = "401";//未登录
    public static final String SUCCESS = "00000"; //成功
    public static final String TOKEN_ERROR = "20003"; //用户令牌信息不一致，请重新登陆
    public static final String REFRESH_TOKEN_ERROR = "20004"; //刷新令牌与token不一致
    public static final String REFRESH_TOKEN_PAST = "20005"; //刷新令牌的有效期已过
    public static final String NOPERMISSION = "90003"; //用户无权限

    public static final String FAILURE = "10001"; //接口异常
    public static final String APP_ID_ERROR = "10002"; //appid错误
    public static final String SIGN_ERROR = "10003"; //签名验证失败
    public static final String TIME_OUT = "10004"; //请求超时
    public static final String UNKOWN_RESOURCE = "10005"; //未知来源
    public static final String FORBID = "10006"; //禁止访问
    public static final String API_OUT_OF_SERVICE = "10007"; //接口停用
    public static final String API_UPDATING = "10008"; //接口维护中
    public static final String NO_UUID = "10009"; //无uuid
    public static final String UNKOWN_ERROR = "11000"; //未知异常
}
